<template>
  <div class="minepage" :style="{height: height}">
    <div class="header">
      个人中心
      <i @click="showconfirm" class="iconfont icon-tuichu1">退出</i>
    </div>
    <div class="backgroundPicture">
      <div class="avatar">
        <img v-if="wxAvatar == '' || wxAvatar == null || wxAvatar == undefined" src="../../images/wodeyes.png" alt="">
        <img v-else="" :src="wxAvatar" alt="">
      </div>
      <h1 v-html="content.name"></h1>
      <p>{{content.gradeName}}</p>
    </div>
    <div class="mineList">
      <!--<router-link to="/personalInformation">-->
        <div class="listOne" @click="goSomePage('per')">
          <div class="imgageicon gerenxinxi"></div>
          <span class="listOneleft">个人信息</span>
          <span class="listOneright"> <i class="iconfont icon-iconfontyoujiantou"></i></span>
        </div>
      <!--</router-link>-->
      <!--<router-link to="/myClass">-->
        <div class="listOne" @click="goSomePage('class')">
          <div class="imgageicon wodebanji"></div>
          <span class="listOneleft">我的班级</span>
          <span class="listOneright"> <i class="iconfont icon-iconfontyoujiantou"></i></span>
        </div>
        <!--
        <div class="listOne" @click="goSomePage('schedule')">
                  <div class="imgageicon wodebanji"></div>
                  <span class="listOneleft">我的课表</span>
                  <span class="listOneright"> <i class="iconfont icon-iconfontyoujiantou"></i></span>
         </div>-->
      <!--</router-link>-->
      <!--<router-link to="/notice">-->
        <div class="listOne" @click="goSomePage('notice')" style="border-bottom: none">
          <div class="imgageicon wotongzhi"></div>
          <span class="listOneleft">我的通知</span>
          <span class="listOneright">{{total}} 条通知 <i class="iconfont icon-iconfontyoujiantou"></i></span>
        </div>
        <!--
         <div class="listOne" @click="goQuery()" style="border-bottom: none">
                  <div class="imgageicon wotongzhi"></div>
                  <span class="listOneleft">查询</span>
                  <span class="listOneright">{{total}} 输入预约号 <i class="iconfont icon-iconfontyoujiantou"></i></span>
         </div>-->
      <!--</router-link>-->
    </div>
    <div class="confirma">
      <confirm v-model="show"
               title="操作提示"
               @on-cancel="onCancel"
               @on-confirm="onConfirm">
        <p style="text-align:center;">{{tishi}}</p>
      </confirm>
    </div>
  </div>
</template>

<style lang="scss" src='./mine.scss'></style>
<script src="./mine.js"></script>
